
#ifndef	__FECAB_SERVICE_HPP_2010__
#define	__FECAB_SERVICE_HPP_2010__

#include <string>


namespace	confab {
namespace	server	{

class	Service
{

public	:
	
	/**
	 *
	 * @return 1 success with response returned
	 *         0 success without response 
	 *         <0 failure
	 *
	 * @exception on failure
	 */
	virtual int	handle( const std::string& request, std::string& response ) = 0;

public	:
	virtual ~Service() {}

};	//// class Service

}	// namespace server
}	// namespace confab


#endif	// __FECAB_SERVICE_HPP_2010__

